package com.baizhi.mall.mapper;

import com.baizhi.mall.entity.mysql.BzAdminRoleDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhw
 * @since 2021-05-17
 */
public interface BzAdminRoleMapper extends BaseMapper<BzAdminRoleDO> {
    List<BzAdminRoleDO> selectByAdminId(Integer adminId);
    //删除一个
    void deleteByAdminId(Integer adminId);
}
